package com.project.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;

import lombok.Data;

/**
 * @TableName t_zcwx
 */
@TableName(value = "t_zcwx")
@Data
public class AssetFix implements Serializable {
    /**
     * #
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 流水号
     */
    @TableField(value = "lsh")
    private String lsh;

    /**
     * 填报日期
     */
    @TableField(value = "tbrq")
    private Date tbrq;

    /**
     * 对应的资产id
     */
    @TableField(value = "assetId")
    private Integer assetid;

    /**
     * 对应的资产对象
     */
    @TableField(exist = false)
    private Asset asset;

    /**
     * 资产编号
     */
    @TableField(value = "zcbh")
    private String zcbh;

    /**
     * 资产名称
     */
    @TableField(value = "zcmc")
    private String zcmc;

    /**
     * 损坏数量
     */
    @TableField(value = "shsl")
    private Integer shsl;

    /**
     * 送修日期
     */
    @TableField(value = "sxrq")
    private Date sxrq;

    /**
     * 是否报废
     */
    @TableField(value = "isScrapped")
    private Integer isScrapped;

    /**
     * 故障原因
     */
    @TableField(value = "gzyy")
    private String gzyy;

    /**
     * 维修状况
     */
    @TableField(value = "wxzk")
    private String wxzk;

    /**
     * 维修费用
     */
    @TableField(value = "wxfy")
    private Long wxfy;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}